package com.qzsoft.zhjd.server.modules.ludong.exp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ClassName: ExpMarshallStabilityEntity
 * @Description: 马歇尔稳定度试验
 * @author linhuawei
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("n_laboratory_marshall_stability")
public class CollectMarshallStabilityEntity {

    @TableId(type = IdType.UUID)
    private String id;//
    private String deviceId;// 设备编号
    private String projectId;// 工程名称
    private String engineeringName;// 工程名称
    private String engineeringSite;// 工程（施工）部位
    private String testType;// 试验类型

    private String sampleName;// 样品名称
    private String sampleNo;//

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;// 开始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;// 结束时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;// 上传时间
    private BigDecimal stabilityValue;// 技术要求稳定度
    private BigDecimal minFlow;// 技术要求流值
    private BigDecimal maxFlow;// 技术要求流值
    private String stabilityAverage;// 流值
    private String average;// 流值


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private LocalDateTime insertTime;//
    private String isQualified;// 合格1或者不合格0
    private BigDecimal stability1;// 合格1或者不合格0
    private BigDecimal flow1;// 合格1或者不合格0
    private BigDecimal stability2;// 合格1或者不合格0
    private BigDecimal flow2;// 合格1或者不合格0
    private BigDecimal stability3;// 合格1或者不合格0
    private BigDecimal flow3;// 合格1或者不合格0
    private BigDecimal stability4;// 合格1或者不合格0
    private BigDecimal flow4;// 合格1或者不合格0l
    private BigDecimal stability5;// 合格1或者不合格0
    private BigDecimal flow5;// 合格1或者不合格0
    private BigDecimal stability6;// 合格1或者不合格0
    private BigDecimal flow6;// 合格1或者不合格0

    private String deptId;

    private String deptPkid;

}
